package com.yangtao.prototype.system.entity;

import java.io.Serializable;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.yangtao.framework.hibernate.BaseEntity;
/**
 * 流水号
 * @author 杨涛
 * @since 1.0
 *
 */
@Entity
@Table(name = "sys_serial_number")
public class SerialNumber extends BaseEntity implements Serializable {
	/**
	 * 序列化id
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 日期字符串
	 */
	private String dateStr;
	/**
	 * 滚动流水号
	 */
	private Integer rollingNum;
	/**
	 * 单据类型
	 */
	private String noteType;

	/**
	 * @return the dateStr
	 */
	public String getDateStr() {
		return dateStr;
	}

	/**
	 * @param dateStr
	 *            the dateStr to set
	 */
	public void setDateStr(String dateStr) {
		this.dateStr = dateStr;
	}

	/**
	 * @return the rollingNum
	 */
	public Integer getRollingNum() {
		return rollingNum;
	}

	/**
	 * @param rollingNum
	 *            the rollingNum to set
	 */
	public void setRollingNum(Integer rollingNum) {
		this.rollingNum = rollingNum;
	}

	/**
	 * @return the noteType
	 */
	public String getNoteType() {
		return noteType;
	}

	/**
	 * @param noteType
	 *            the noteType to set
	 */
	public void setNoteType(String noteType) {
		this.noteType = noteType;
	}

}
